﻿<%@ Page Title="编辑" Language="C#" MasterPageFile="~/Master.master" AutoEventWireup="true"
    CodeFile="Sedit.aspx.cs" Inherits="Sedit" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="head">
    <style type="text/css">
        .style1
        {
            height: 23px;
        }
    </style>
    <script language="javascript">
        function show() {
            document.getElementById("ca").style.display="block";
        }
    </script>

</asp:Content>
<asp:Content ID="MainContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table style="width:500px">
<tr>
<td class="style1">学号</td>
<td class="style1"><asp:TextBox ID="txtSno" runat="server" ReadOnly="true" 
        Enabled="False"></asp:TextBox></td>
</tr>
<tr>
<td>姓名</td>
<td><asp:TextBox ID="txtSname" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>性别</td>
<td><asp:TextBox ID="txtSsex" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>专业</td>
<td><asp:TextBox ID="txtSmajor" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>班级</td>
<td><asp:TextBox ID="txtSclass" runat="server"></asp:TextBox></td>
</tr>
<tr>
<td>生日</td>
<td>
<asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div><asp:TextBox ID="txtSbirth" runat="server"></asp:TextBox></div>
<div id="ca" style="display:none;position:absolute" >
    <asp:Calendar ID="Calendar1" runat="server" BackColor="White" 
                  BorderColor="#3366CC" Font-Names="Verdana" Font-Size="8pt" 
                             ForeColor="#003399" Height="200px" Width="220px"  
        onselectionchanged="Calendar1_SelectionChanged" CellPadding="1" 
        DayNameFormat="Shortest" BorderWidth="1px" 
        onvisiblemonthchanged="Calendar1_VisibleMonthChanged">
        <SelectedDayStyle BackColor="#009999" ForeColor="#CCFF99" Font-Bold="True" />
               <SelectorStyle BackColor="#99CCCC" ForeColor="#336666" />
             <WeekendDayStyle BackColor="#CCCCFF" />
               <TodayDayStyle BackColor="#99CCCC" ForeColor="White" />
               <OtherMonthDayStyle ForeColor="#999999" />
               <NextPrevStyle Font-Size="8pt" ForeColor="#CCCCFF" />
               <DayHeaderStyle BackColor="#99CCCC" ForeColor="#336666" Height="1px" />
               <TitleStyle BackColor="#003399"   Font-Bold="True" Font-Size="10pt" ForeColor="#CCCCFF" 
                                 BorderColor="#3366CC" BorderWidth="1px" Height="25px" />

        </asp:Calendar>
        </div>
        </ContentTemplate>        
        </asp:UpdatePanel>
</td>
</tr>
<tr>
<td colspan="2"><asp:Button ID="btnEdit" runat="server" Text="修改" 
        onclick="btnEdit_Click" /></td>
</tr>
</table>


</asp:Content>